package com.corner.system.service;


import com.corner.common.core.domain.entity.SysUser;
import com.corner.system.domain.vo.EditUserInfoVo;
import com.corner.system.domain.vo.Operation;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 工单服务类
 */
public interface WorkOrderService {

    public void applyWorkOrder(MultipartFile oldCard1,
                              MultipartFile oldCard2,
                              MultipartFile oldBook,
                              MultipartFile newCard1,
                              MultipartFile newCard2,
                              MultipartFile newBook,
                              Map userInfo);

    public List<Operation> selectWorkOrder(Operation operation);

    public void approvalWorkOrder(Operation operation);

    public void approvalWorkOrderNoEdit(Operation operation);

    public void createOrChangeTel(MultipartFile oldCard1,
                                  MultipartFile oldCard2,
                                  Map userInfo
                                  ) throws IOException;

    public Map getEditChangeTelPage();

}
